package org.dromara.vehicle.modules.driver.domain.vo;

import java.util.Date;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.vehicle.modules.driver.domain.DriverTrainingRecord;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 驾驶员培训记录视图对象 driver_training_record
 *
 * @author ckk
 * @date 2025-06-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DriverTrainingRecord.class)
public class DriverTrainingRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 培训日期
     */
    @ExcelProperty(value = "培训日期")
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date trainingDate;

    /**
     * 培训内容
     */
    @ExcelProperty(value = "培训内容")
    private String trainingContent;

    /**
     * 培训结果
     */
    @ExcelProperty(value = "培训结果")
    private String trainingResult;


}
